package com.panshi.vo.qa;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

//站内消息
@Data
@ApiModel(value = "站内消息对象")
public class Messag implements Serializable {
    /**
     * 文章类型
     */
    @ApiModelProperty(value = "文章类型")
    public static final int ARTICLE_TYPE = 1;
    /**
     * 问题类型
     */
    @ApiModelProperty(value = "问题类型")
    public static final  int QUESTION_TYPE = 2;
    /**
     * 回答类型
     */
    @ApiModelProperty(value = "回答类型")
    public static final  int REPLY_TYPE = 3;

    //id
    @ApiModelProperty(name = "id",value = "id")
    private int id;
    //标题
    @ApiModelProperty(value = "标题")
    private String title;
    //内容
    @ApiModelProperty(value = "内容")
    private String content;
    //审核状态
    @ApiModelProperty(value = "审核状态")
    private int checkState;
    //消息状态
    @ApiModelProperty(value = "消息状态")
    private int msg;
    //审核时间
    @ApiModelProperty(value = "审核时间")
    private String checkTime;
    //审核类型
    @ApiModelProperty(value = "审核类型")
    private int checkType;
    //审核描述
    @ApiModelProperty(value = "审核描述")
    private String checkDescribe;
    //所属用户
    @ApiModelProperty(value = "所属用户")
    private int userId ;
}
